package top.italks.manufactureproject.constant;

import java.util.HashMap;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import top.italks.manufactureproject.bean.UpdateLightSwitch;
import top.italks.manufactureproject.bean.UserWorkEnvironmentalGetInfo;

public interface ApiService {
    //提交方式Form提交和json提交参考：https://juejin.im/entry/5bf55ece6fb9a049b506706a

    @FormUrlEncoded
    @POST("/dataInterface/UserWorkEnvironmental/getInfo")
    Call<UserWorkEnvironmentalGetInfo> userWorkEnvironmentalGetInfo(
        @FieldMap HashMap<String, Object> map);
}
